package com.hanxiaozhang.test.statictest;

/**
 * 〈一句话功能简述〉<br>
 * 〈〉
 *
 * @author hanxinghua
 * @create 2022/8/31
 * @since 1.0.0
 */
public class StaticTest1 {

    public static String NAME = "小王";

    public static Integer AGE = null;

    public StaticTest1() {
        if (AGE == null) {
            System.out.println("age is null");
            AGE = 10;
        }else {
            System.out.println("age is not null");
        }
    }


    public static void main(String[] args) {

        NAME = "小韩";
        StaticTest1 staticTest1 = new StaticTest1();
        while (true) {

        }
    }

}
